import './index.css'

export const ButtonPropsType = [{
  name: 'text',
  type: 'input',
  default: '主按钮'
}, {
  name: 'size',
  type: 'select',
  default: 'big'
}]

export const Button = ({text, size}) => {
  return <button className={`${size}`} style={{fontSize: size}}>{text || '默认按钮'}</button>
}